package net.hmr_radio.hmrbot.controller;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

public class ErrorController extends Controller {

    @Override
    public Navigation run() throws Exception {
        request.getSession().invalidate();
        if (requestScope("message") == null) {
            requestScope("message", "ごめんなさい。");
        }
        return forward("error.jsp");
    }
}
